﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MasterAPI
{
    public class GameServerObject
    {
        private string address;
        private string port;
        private string location;
        private string currentPlayers;
        private string maxPlayers;
        private string type;
        private string optional;
        private string owner;
        public GameServerObject()
        {

        }
        public GameServerObject(string ip,
                                string port,
                                string location,
                                string currentPlayers,
                                string maxPlayers,
                                string type,
                                string optional,
                                string owner)
        {
            this.address = ip;
            this.port = port;
            this.location = location;
            this.currentPlayers = currentPlayers;
            this.maxPlayers = maxPlayers;
            this.type = type;
            this.optional = optional;
            this.owner = owner;
            Console.WriteLine("GameServerObject Created!");
        }
        public String Address
        {
            get
            {
                return address;
            }
            set
            {
                address = value;
            }
        }
        public String Port
        {
            get
            {
                return port;
            }
            set
            {
                port = value;
            }
        }
        public String Location
        {
            get
            {
                return location;
            }
            set
            {
                location = value;
            }
        }
        public String CurrentPlayers
        {
            get
            {
                return currentPlayers;
            }
            set
            {
                currentPlayers = value;
            }
        }
        public String MaxPlayers
        {
            get
            {
                return maxPlayers;
            }
            set
            {
                maxPlayers = value;
            }
        }
        public String Type
        {
            get
            {
                return type;
            }
            set
            {
                type = value;
            }
        }
        public String Optional
        {
            get
            {
                return optional;
            }
            set
            {
                optional = value;
            }
        }
        public String Owner
        {
            get
            {
                return owner;
            }
            set
            {
                owner = value;
            }
        }
    }
}
